//
//  NYSearchTableHeadView.h
//  NiuWaJiaoYu
//
//  Created by MinLison on 2018/1/8.
//  Copyright © 2018年 niuwaketang. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol NYSearchTableHeadViewDelegate;

typedef void(^NYSearchHotBlock)(void);

@interface NYSearchTableHeadView : UIView

- (instancetype)initWithDelegate:(id<NYSearchTableHeadViewDelegate>)delegate
                  requestSuccess:(NYSearchHotBlock)success;

@end

@protocol NYSearchTableHeadViewDelegate <NSObject>

@optional

- (void)clickOnTheHotButton:(NSString *)hotString;
@end
